﻿CREATE TRIGGER CommitteesURLs_Tracking_Delete
ON [dbo].[CommitteesURLs] 
AFTER delete
AS 
BEGIN
	UPDATE Sync.CommitteesURLs_Tracking 
	SET LastUpdatedDate  = getdate(),
		IsDeleted = 1
	FROM Sync.CommitteesURLs_Tracking s JOIN DELETED i
    ON s.CommitteeURLID = i.CommitteeURLID
END











